[SPARK-25867][ML] Remove KMeans computeCost#22875
[SPARK-25867][ML] Remove KMeans computeCost#22875mgaido91 wants to merge 7 commits intoapache:masterfrom
Conversation
|
Test build #98201 has finished for PR 22875 at commit
|
|
retest this please |
|
Test build #98210 has finished for PR 22875 at commit
|
|
Test build #98212 has finished for PR 22875 at commit
|
|
Test build #98680 has finished for PR 22875 at commit
|
|
Test build #98874 has finished for PR 22875 at commit
|
|
Test build #99048 has finished for PR 22875 at commit
|
|
retest this please |
srowen
left a comment
There was a problem hiding this comment.
Just grepping for computeCost -- do any examples need updating? I see some instances but they may be a different computeCost.
But what about BisectingKMeans too?
|
Yes, the problem is that there is also the |
|
How about BisecingKMeansModel? That's what I was looking at. That computeCost is also deprecated. |
|
Yes, it was deprecated in #22756 and it is deprecated since 3.0, so we cannot remove it... |
|
Ah OK I wasn't reading that carefully. |
|
Test build #99057 has finished for PR 22875 at commit
|
srowen
left a comment
There was a problem hiding this comment.
Apologies for the merge conflict now, but looks OK otherwise.
|
thanks for your review @srowen |
|
Test build #99109 has finished for PR 22875 at commit
|
|
retest this please |
|
Test build #99123 has finished for PR 22875 at commit
|
|
retest this please |
|
Test build #99133 has finished for PR 22875 at commit
|
srowen
left a comment
There was a problem hiding this comment.
OK by me; apologies for another rebase though. We're merging lots of changes that need MiMa exclusions and it keeps conflicting.
|
sure, thanks @srowen , no need to apologize at all, thanks for your help reviewing this. |
|
Test build #99174 has finished for PR 22875 at commit
|
|
Merged to master |
## What changes were proposed in this pull request? The PR removes the deprecated method `computeCost` of `KMeans`. ## How was this patch tested? NA Closes apache#22875 from mgaido91/SPARK-25867. Authored-by: Marco Gaido <marcogaido91@gmail.com> Signed-off-by: Sean Owen <sean.owen@databricks.com>
What changes were proposed in this pull request?
The PR removes the deprecated method
computeCostofKMeans.How was this patch tested?
NA